//
//  GGTFindBusinessesModel.m
//  GGT
//
//  Created by 空空空 on 14/11/3.
//  Copyright (c) 2014年 GGT. All rights reserved.
//

#import "GGTFindBusinessesModel.h"

@implementation GGTFindBusinessesModel
- (void)dealloc
{
    [_name release];
    [_latitude release];
    [_longitude release];
    [_imge release];
    [_branch_name release];
    [_categories release];
    [_regions release];
    [_avg_price release];
    [super dealloc];
    
}
- (id)initWithDictionary:(NSDictionary *)dic
{
    self = [super init];
    if (self) {
        self.name = [dic objectForKey:@"name"];
        self.latitude = [dic objectForKey:@"latitude"];
        self.longitude = [dic objectForKey:@"longitude"];
        self.imge = [dic objectForKey:@"rating_img_url"];
        self.branch_name = [dic objectForKey:@"branch_name"];
        self.regions = [dic objectForKey:@"regions"];
        self.avg_price = [dic objectForKey:@"avg_price"];
        self.categories = [dic objectForKey:@"categories"];
        
    }
    return  self;
}
@end
